-
Notifications
You must be signed in to change notification settings - Fork 64
Deprecate HybridBOSSE support #509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
johnjasa
merged 7 commits into
NatLabRockies:develop
from
RHammond2:enhancement/deprecate-hybridbosse
Jan 28, 2026
Merged
Deprecate HybridBOSSE support #509
johnjasa
merged 7 commits into
NatLabRockies:develop
from
RHammond2:enhancement/deprecate-hybridbosse
Jan 28, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 tasks
johnjasa
added a commit
that referenced
this pull request
Jan 28, 2026
<!-- IMPORTANT NOTES 1. Use GH flavored markdown when writing your description: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax 2. If all boxes in the PR Checklist cannot be checked, this PR should be marked as a draft. 3. DO NOT DELTE ANYTHING FROM THIS TEMPLATE. If a section does not apply to you, simply write "N/A" in the description. 4. Code snippets to highlight new, modified, or problematic functionality are highly encouraged, though not required. Be sure to use proper code higlighting as demonstrated below. ```python def a_func(): return 1 a = 1 b = a_func() print(a + b) ``` --> <!--The title should clearly define your contribution succinctly.--> # Flatten matrix-shaped arrays to 1D arrays for `c_double` casting <!-- Describe your feature here. Please include any code snippets or examples in this section. --> This PR is addressing the test failures cropping up in #509 caused by passing a (N, 1) NumPy array to a (N,) `c_double` array. By reshaping the NumPy arrays to shape (N,) the issue is resolved. ## PR Checklist <!--Tick these boxes if they are complete, or format them as "[x]" for the markdown to render. --> - [x] `RELEASE.md` has been updated to describe the changes made in this PR - [ ] Documentation - [ ] Docstrings are up-to-date - [ ] Related `docs/` files are up-to-date, or added when necessary - [ ] Documentation has been rebuilt successfully - [ ] Examples have been updated - [x] Tests pass (If not, and this is expected, please elaborate in the tests section) - [x] PR description thoroughly describes the new feature, bug fix, etc. ## Related issues <!--If one exists, link to a related GitHub Issue.--> N/A, this is a brand new issue blocking a PR. ## Impacted areas of the software <!-- Replace the below example with any added or modified files, and briefly describe what has been changed or added, and why. --> - `hopp/simulation/technologies/pySSC_daotk/ssc_wrap.py` - `PySSC.data_set_array`: reshapes the passed NumPy array from (N, 1) to (N). - `hopp/simulation/technologies/csp/pySSC_daotk/ssc_wrap.py` - `PySSC.data_set_array`: reshapes the passed NumPy array from (N, 1) to (N). ## Additional supporting information <!--Add any other context about the problem here.--> All test failures were due to this line of code in `hopp/simulation/technologies/pySSC_daotk/ssc_wrap.py::PySSC.data_set_array` <img width="630" height="120" alt="image" src="https://github.com/user-attachments/assets/ded8bb3c-8890-41a6-adb5-eb5f6fc2b437" /> ## Test results, if applicable <!-- Add the results from unit tests and regression tests here along with justification for any failing test cases. --> <!-- __ For NREL use __ Release checklist: - [ ] Update the version in hopp/__init__.py - [ ] Verify docs builds correctly - [ ] Create a tag on the main branch in the NREL/HOPP repository and push - [ ] Ensure the Test PyPI build is successful - [ ] Create a release on the main branch -->
johnjasa
approved these changes
Jan 28, 2026
Collaborator
johnjasa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Rob!
kbrunik
approved these changes
Jan 28, 2026
Collaborator
kbrunik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks @RHammond2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
End support for HybridBOSSE
This PR scrubs any reference to HybridBOSSE and removes the wrapper and its client from the code base since the model is unused and causing upstream dependency management issues. It was discussed at a recent standup that it is time to deprecate support as it's increasingly unused for a variety of reasons.
PR Checklist
RELEASE.mdhas been updated to describe the changes made in this PRdocs/files are up-to-date, or added when necessaryRelated issues
N/A
Impacted areas of the software
HybridBOSSE references removed from:
examples/legacy/analysis/main_usa_new.pyexamples/legacy/analysis/multi_location.pyexamples/legacy/analysis/single_location.pyhopp/tools/analysis/bos/cost_calculator.pyRemoved:
hopp/tools/analysis/bos/hybrid_bosse.pyhopp/tools/analysis/bos/hybridbosse_client.pyAdditional supporting information
N/A
Test results, if applicable
No changes made to tested or documented software